package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.domain.entity.Params;
import com.example.domain.entity.Room;


import java.util.List;

public interface RoomService {

    List<Room> findAll();

    Page<Room> findBySearch(Params params);

    void add(Room room);

    void update(Room room);

    void delete(Integer id);

    Room findById(Integer id);
}